var b1s = document.querySelectorAll(".rbottom .b1");
var rtops = document.querySelectorAll(".rtop");
console.log(b1s)
console.log(rtops)
b1s.forEach((box,i) => {
    box.onclick = function () {
        b1s.forEach((v,j) => {
            v.className = "box b1";
            rtops[j].className = "rtop";
        })
        this.className = "active b1";
        rtops[i].className="rtop active"
        role.src="../images/team/"+this.lastElementChild.firstElementChild.innerHTML+"_03.png";
    }
})